package com.xiaoyu.awakening.ai.evaluation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * ForgeEvalEntity 数据库实体
 *
 * @author wangxiaoyu
 * @date 2025/8/20 15:52
 * @since v1.0
 */
@Data
@TableName("awk_eval")
public class AwkEvalEntity implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String evalTaskName;
    private String evalTaskDesc;
    private String evalCode;
    private String userId;
    private Integer type;
    private String dirId;
    private String fileIdList;
    private String qaPair;
    private String dataset;
    private String evalResult;
    private String evalResultUrl;
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
